package cn.tedu.egmybatis2.mapper;

import cn.tedu.egmybatis2.pojo.entity.UserOrders;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserOrderMapper {
    @Insert("INSERT INTO mybatisdb.user_orders(order_id,cust_id,order_date,status,products_num,amt) VALUES (#{orderId},#{custId},#{orderDate},#{status},#{productsNum},#{amt})")
    void insertUserOrder(UserOrders userOrders);
}
